package model.battle 
{
	import event.HeartbeatEvent;
	import flash.events.EventDispatcher;
	/**
	 * ...
	 * @author Kylin206
	 */
	public class Heartbeat extends EventDispatcher
	{
		private static var _instance:Heartbeat;
		
		public function Heartbeat() 
		{
			
		}
		
		public function beat():void
		{
			dispatchEvent(new HeartbeatEvent(HeartbeatEvent.BEAT));
			
		}
		
		static public function get instance():Heartbeat 
		{
			if (!_instance)_instance = new Heartbeat();
			return _instance;
		}
		
		
		
	}

}